package com.yangrui.app.util;

import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
@Slf4j
public class NullUtil {
    public static boolean isNull(Object... params) {
        for (Object param : params) {
            if (param == null) {
                return true;
            }
        }
        return false;
    }

    public static boolean isBlank(String... params){
        for(String param : params){
            if(StringUtils.isBlank(param)){
                return true;
            }
        }
        return false;
    }
}
